#include "ThreadPoolMgr.h"

ThreadPoolMgr::ThreadPoolMgr()
{
}

ThreadPoolMgr::~ThreadPoolMgr()
{
}

thread_group& ThreadPoolMgr::get_thread_pool()
{
    return m_thread_group;
}

void ThreadPoolMgr::add_thread(thread* pthread)
{
    m_thread_group.add_thread(pthread);
}

void ThreadPoolMgr::remove_thread(thread *pthread)
{
    m_thread_group.remove_thread(pthread);
}

uint32_t ThreadPoolMgr::size()
{
    return m_thread_group.size();
}

void ThreadPoolMgr::join_all()
{
    m_thread_group.join_all();
}

